<div xmlns="http://www.w3.org/1999/xhtml"
     xmlns:ice="http://www.icesoft.com/icefaces/component"
     xmlns:f="http://java.sun.com/jsf/core"
     class="header_container">

    <div class="header_content">
        <ice:graphicImage width="500px" height="100px"
                          value="./css/images/logo.png"
                          title="#{msgs['template.header.componentShowcase.title']}"
                          alt="#{msgs['template.header.componentShowcase.title']}"
                          style="float:left"/>

        <ice:form id="icefrm">
           <ice:panelGroup style="float:right;">
                <ice:outputText value="Utilisateur : "/> <ice:outputText value="#{sessionController.utilisateur.nom}"/>
            
                <ice:selectOneMenu id="currentStyle"
                                   styleClass="themeSelectOneMenu"
                                   value="#{styleBean.currentStyle}"
                                   valueChangeListener="#{styleBean.changeStyle}"
                                   partialSubmit="true">
                    <f:selectItem id="rime" itemLabel="#{msgs['theme.rime.title']}"
                                  itemValue="rime"/>
                    <f:selectItem id="xpTheme" itemLabel="#{msgs['theme.xp.title']}"
                                  itemValue="xp"/>
                    <f:selectItem id="royaleTheme"
                                  itemLabel="#{msgs['theme.royale.title']}"
                                  itemValue="royale"/>
                </ice:selectOneMenu>
                <ice:selectOneMenu id="currentLang" styleClass="themeSelectOneMenu"
                                   valueChangeListener="#{localeBean.changeLanguage}"
                                   value="#{localeBean.currentLanguage}"
                                   partialSubmit="true">
                    <f:selectItems value="#{localeBean.availableLocales}"/>
                </ice:selectOneMenu>

            </ice:panelGroup>
        </ice:form>
    </div>
</div>
